package top.aniss.spark.beifeng.dao;

import top.aniss.spark.beifeng.dao.impl.SessionAggrStatDAOImpl;
import top.aniss.spark.beifeng.dao.impl.TaskDAOImpl;

/**
 * DAO工厂
 *
 * @author Andre Wei
 * email aniss.wei@gmail.com
 * create 2018-07-11 下午7:06
 */
public class DAOFactory {
    public static ITaskDAO getTaskDAO() {
        return new TaskDAOImpl();
    }

    public static ISessionAggrStatDAO getSessionAggrStatDAO() {
        return new SessionAggrStatDAOImpl();
    }
}
